package zdream.pmfield.stage.message;

import java.util.Objects;

import zdream.pmfield.stage.action.StageAction;

/**
 * @author Zdream
 * @date 2023-11-13
 * @since 0.0.1
 */
public class ActionStartMessage extends StageMessage {
	public final StageAction action;

	public ActionStartMessage(StageAction action) {
		this.type = StageMessageType.ACTION;
		this.action = Objects.requireNonNull(action);
	}

	@Override
	public String toString() {
		return String.format("[AS] 行动 %s", action);
	}
}
